Skip to content

Pull mobile v3 release notes from GitHub for releases after v3.1#389

Merged
simonhamp merged 1 commit into
mainfrom
mobile-release-notes-github
May 19, 2026
Merged

Pull mobile v3 release notes from GitHub for releases after v3.1#389
simonhamp merged 1 commit into
mainfrom
mobile-release-notes-github

Conversation

@simonhamp
Copy link
Copy Markdown
Member

Summary

  • The mobile v3 changelog has been growing stale. This applies the same GitHub-driven mechanic the desktop release notes use, so all nativephp/mobile-air releases newer than v3.1 render automatically.
  • Adds GitHub::mobileAir() plus a generic releasesAfter(string \$version) filter (using version_compare with leading-v normalisation).
  • Paginates fetchReleases() (per_page=100) so we pick up every release — previously the GitHub API default capped us at 30 and the Blade view further capped it at 10.
  • Renders the GitHub releases above the manually-written v3.1 and v3.0 sections, which stay as the historical anchor.

Test plan

  • php artisan test --compact tests/Feature/Support/GitHubTest.php — covers correct repo URL, pagination across pages, version filtering, leading-v normalisation, and HTTP failure returning an empty collection.
  • Manually verified https://mossy-trout.test/docs/mobile/3/getting-started/changelog renders 3.1.1 through 3.3.5 from GitHub above the manual v3.1 / v3.0 entries.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review May 19, 2026 23:24
@simonhamp simonhamp merged commit 3ac3439 into main May 19, 2026
2 checks passed
@simonhamp simonhamp deleted the mobile-release-notes-github branch May 19, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant